package com.pzhu.record.service;

import com.pzhu.record.entity.Graduation;
import com.pzhu.record.entity.Page;

import java.util.List;

/**
 * @author Zhou YuSen
 * @date 2020/4/14 15:02
 */
public interface GraduationService extends BaseService<Graduation> {
    /**
     * 批量添加
     *
     * @param graduationList
     * @return
     */
    int insertBatch(List<Graduation> graduationList);

    /**
     * 批量更新
     *
     * @param graduationList
     */
    int updateBatch(List<Graduation> graduationList);

    /**
     * 条件分页查询
     *
     * @return 分页类
     */
    public Page<Graduation> selectPage(int pageIndex, Graduation graduation);

    /**
     * 查询总记录数
     *
     * @return 总记录数
     */
    public Integer selectPageCount(Page<Graduation> bbsuserPage);

}
